package com.shangxian.giveithome.entity.petCard;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author coderFu
 * @create 2021/5/2
 */
@ApiModel("医生信息表")
@Data
public class PetDoctor {

    @ApiModelProperty("自增id")
    private Long id;

    @ApiModelProperty("医生用户id")
    private Long doctorId;

    @ApiModelProperty("医院名称")
    private String hospital;

    @ApiModelProperty("创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone ="GTM+8")
    private Date createTime;
}
